package com.binance.notification.web.utils;

public final class Constants {

    public static final String TMP_WEB_USER_STR_PREFIX = "BINANCE";
    public static final String GLOBAL_WEB_USER_STR = TMP_WEB_USER_STR_PREFIX + "04B8760BA1AC4C608759639E7D5A195B";
    public static final String LANGUAGE_TAG_PRIX = "locale_";
    public static final String GLOBAL_TAG = "bnb";
    public static final String PUSH_SWITCH = "NS";
    public static final String DEFAULT_LANGUAGE = "en";
    public static final String URI_ACTIVITY_KEY = "uri_activity";
    public static final String URI_ACTIVITY_VALUE = "com.binance.dev.SplashActivity";
    public static final String URI_ACTIVITY_VALUE_DEV = "com.binance.pushtest.MainActivity";
    public static final String RESOLVER_KEY = "resolver";
    public static final String RESOLVER_VALUE = ".binance.resolver";


    public static final String NEED_PUSH_RESULT = "need_push_result";

    // redis分布式锁的失效时长
    public final static Long REDIS_WX_LOCK_EXPIRE = 60000L;
    // 定时判断锁的状态
    public final static Integer REDIS_WX_LOCK_SCHEDULED = 30;

    // 定义集群中的服务器与撮合系统（websocket）通信锁，集群中同一时刻只有一台服务器与撮合系统通信
    public final static String NOTIFICATION_WEBSOCKET_LOCK = "NOTIFICATION_WS_LOCK_KEY";


}
